Page MenuHomePhabricator
Paste P17496

Push a commit to Gerrit
ActivePublic

Authored by Osamaahmed17 on Oct 18 2021, 1:32 PM.
Tags
None
Referenced Files
F34694201: Push a commit to Gerrit
Oct 18 2021, 1:32 PM
Subscribers
None
osamaahmed17@Osamas-MacBook-Pro test % git add .
osamaahmed17@Osamas-MacBook-Pro test % git review
Creating a git remote called 'gerrit' that maps to:
ssh://osamaahmed17@gerrit.wikimedia.org:29418/test/test.git
No changes between HEAD and gerrit/master. Submitting for review would
be pointless.
osamaahmed17@Osamas-MacBook-Pro test % git checkout -b T293258
fatal: A branch named 'T293258' already exists.
osamaahmed17@Osamas-MacBook-Pro test % git add readme.md
osamaahmed17@Osamas-MacBook-Pro test % git commit
file is empty: .git/COMMIT_EDITMSG
osamaahmed17@Osamas-MacBook-Pro test % git commit -m "File added"
[T293258 6486510] File added
1 file changed, 1 insertion(+)
create mode 100644 readme.md
osamaahmed17@Osamas-MacBook-Pro test % git review
remote:
remote: Processing changes: refs: 1, new: 1
remote: Processing changes: refs: 1, new: 1
remote: Processing changes: refs: 1, new: 1, done
remote:
remote: SUCCESS
remote:
remote: https://gerrit.wikimedia.org/r/c/test/test/+/731730 File added [NEW]
remote:
To ssh://gerrit.wikimedia.org:29418/test/test.git
* [new reference] HEAD -> refs/for/master%topic=T293258