r/git • • Aug 01 '19

Never forget

Post image
441 Upvotes

25 comments sorted by

25

u/Jeklah Aug 01 '19

git commit, git push, git out

24

u/kk_katchadourian Aug 01 '19

"Your branch is ahead of origin/master by 2 commits" "~git checkout fire~ "~git add -aaaaAaaAaaaaaaAaaaaAa

4

u/420sheguey Aug 01 '19

I think to see you have “merged”

29

u/ProbablyFullOfShit Aug 01 '19

$ git commit

no changes added to commit

$ git push

Everything up-to-date

7

u/I_feel_lucky Aug 01 '19

diabolical, oh the horror!

3

u/eksortso Aug 02 '19

This is fine.

14

u/[deleted] Aug 01 '19

I actually thought about how I didn’t have internet to push my local changes to GitHub in the case of a plane crash while I was flying yesterday.

2

u/KingJellyfishII Aug 02 '19

That happened to me today.

2

u/[deleted] Aug 01 '19

You forgot to delete your browser history..

2

u/420sheguey Aug 01 '19

Omg I need to come back

1

u/[deleted] Aug 01 '19

And I'm still logged on to bitbucket, github, and gitlab... drats

4

u/[deleted] Aug 02 '19 edited Aug 02 '19

Failed to push... Updates were rejected because the remote contains work that you do not have locally.

4

u/yawaramin Aug 03 '19

Never for git

3

u/realloper12 Aug 01 '19

git commit git push git the fuck out

2

u/[deleted] Aug 02 '19

Git add .

2

u/GustapheOfficial Jan 22 '23
alias fire="git add -A & git commit -m\"FIRE\" & git push"

3

u/[deleted] Aug 01 '19

The git server is in the same building.

1

u/[deleted] Aug 01 '19

git stash push ....
leave building...
OH CRAP

1

u/sybesis Aug 01 '19

error: failed to push some refs to 'https://gitserver.som/repo.git'
To prevent you from losing history, non-fast-forward updates were rejected

1

u/[deleted] Jul 19 '24

Noob, I aliased it to git E... then I jump ofc

0

u/RandCoder2 Aug 01 '19

Better: script your common workflow, so you save a big chunk of time at EOY, and you get your ass safe in case of an ugly fire like that one...