Skip to content

Instantly share code, notes, and snippets.

@gwenf
Last active April 16, 2024 07:46
Show Gist options
  • Save gwenf/19e5748a5391929e8e938a22c8a4b3f2 to your computer and use it in GitHub Desktop.
Save gwenf/19e5748a5391929e8e938a22c8a4b3f2 to your computer and use it in GitHub Desktop.
  • repo -> repository

  • clone -> bring a repo down from the internet (remote repository like Github) to your local machine

  • add -> track your files and changes with Git

  • commit -> save your changes into Git

  • push -> push your changes to your remote repo on Github (or another website)

  • pull -> pull changes down from the remote repo to your local machine

  • status -> check to see which files are being tracked or need to be commited

  • init -> use this command inside of your project to turn it into a Git repository and start using Git with that codebase

@mahmoud-193
Copy link

thanks good job

@iamerikg
Copy link

Thanks Gwen

@kanwal049
Copy link

thanks

@rajendrapalled
Copy link

Super helpful. Thanks

@Sreejith-Jinachandran
Copy link

Thanks

@AhmedZaherElloumi54
Copy link

thank you

@REp007
Copy link

REp007 commented Jul 20, 2023

Very helpful

@Nailer
Copy link

Nailer commented Aug 4, 2023

are these commands different in windows

@MohamedSerag20
Copy link

are these commands different in windows

No, they are the same.

@VolaSoft
Copy link

VolaSoft commented Sep 2, 2023

Very helpful. Thank you

@BHAVISHYA2005
Copy link

amazing thanks teacher

@ShaYn541
Copy link

ShaYn541 commented Oct 5, 2023

error: src refspec master does not match any
error: failed to push some refs to 'https://github.com/ShaYn541/demo-repo.git
I'm actually coming across this after several tries can anyone help ?

@zaynabcodes
Copy link

guys previously I was using my VS Code for the CS50P course but now I finished it and am trying to make my own SSH Key. I followed through the steps in the video. However I keep getting "Enter PIN for authenticator". What does that mean? I tried figuring out it myself, I was told to remove the CS50P SSH Key so I did. but I keep seeing the same thing. Can someone help me please.

@Sabry-Hamdy
Copy link

i haven't tried it on windows but you coud lookup how to install vim on command prompt and then follow it from there on and also how to run ssh commands too. For one final strategy try installing git bash and running the commands there.

idk but it says bash: -vim: command not found
this is so much frustrating there is too much things that does not make sense to me im just copy pasting everything this is no good

@SankarSubbu
Copy link

thank you

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment