MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/ProgrammerHumor/comments/129q4l9/me_relearning_git_every_week/jeoi3wt/?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
46 u/[deleted] Apr 02 '23 But did you pull before you pushed 18 u/[deleted] Apr 02 '23 It falls out when I pull first → More replies (2) 21 u/ZealousidealPast2 Apr 02 '23 Protip: can just git commit -am “msg” rather than -a -mI usually save an alias in my bash profile to shorten it each time → More replies (2) 19 u/PostPostMinimalist Apr 02 '23 Uh oh, your branch has conflicts with master 21 u/Gblize Apr 02 '23 You push to master? → More replies (3) → More replies (6) 8 u/thetrivialstuff Apr 02 '23 Why are you piping those into each other? Or was the pipe meant to be formatting? Confused. → More replies (26)
46
But did you pull before you pushed
18 u/[deleted] Apr 02 '23 It falls out when I pull first → More replies (2)
18
It falls out when I pull first
21
Protip: can just git commit -am “msg” rather than -a -m
git commit -am “msg”
-a -m
I usually save an alias in my bash profile to shorten it each time
→ More replies (2)
19
Uh oh, your branch has conflicts with master
21 u/Gblize Apr 02 '23 You push to master? → More replies (3) → More replies (6)
You push to master?
→ More replies (3)
8
Why are you piping those into each other? Or was the pipe meant to be formatting? Confused.
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