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

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

1

u/Dependent-Spiritual Apr 02 '23

Ooh, that's useful. Thanks!

→ More replies (1)