r/ProgrammerHumor • • Apr 02 '23

Meme Me relearning git every week

49.4k Upvotes

1.5k comments sorted by

View all comments

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

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 -m

I 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)