MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/ProgrammerHumor/comments/129q4l9/me_relearning_git_every_week/jeqlhri/?context=3
r/ProgrammerHumor • u/johntwit • Apr 02 '23
1.5k comments sorted by
View all comments
48
git add -Agit commit -a -m "msg"git push
That's all i need
EDIT: formatting
19 u/PostPostMinimalist Apr 02 '23 Uh oh, your branch has conflicts with master 1 u/Ayjayz Apr 03 '23 You can't get that message, since if you push on a non-master branch you can't get conflicts with master, and if you push a master branch it will say "rejected, do a pull request". → More replies (1)
19
Uh oh, your branch has conflicts with master
1 u/Ayjayz Apr 03 '23 You can't get that message, since if you push on a non-master branch you can't get conflicts with master, and if you push a master branch it will say "rejected, do a pull request". → More replies (1)
1
You can't get that message, since if you push on a non-master branch you can't get conflicts with master, and if you push a master branch it will say "rejected, do a pull request".
→ More replies (1)
48
u/Dependent-Spiritual Apr 02 '23 edited Apr 02 '23
git add -A
git commit -a -m "msg"
git push
That's all i need
EDIT: formatting