Basic Github one-liner

1 minute read

Github is a vital toolbox for anyone working with machine learning project, code and even content management.

These 5 Git commands can keep you productive to share your work with other team members. I picked this up because the course I enrolled in does not include in their curriculum.

git status

git remote -v

git add .

git commit -m "message goes here"

git push

These 5 commands allows you

  • to check what going on in your project folder (a.k.a Repositories)
  • what the git Repositories on Github
  • add what you need to save to Github
  • upload the source code

5 Github commands to start with

There are 6 more Github command

branch checkout pull fetch lop merge

Yes, you have to deal with Command Line Interface

Some Terms with Version Control

Push - publish your changes to a remote repositories

Branch - this will be used if you want to create a new feature or an upgrade to an existing code

Commit - to save a snapshot of every file in your project

Clone - to take a copy of an existing repositories

Fetch - get the latest changes from an existing repositories

Fork - you get a copy of another person whole repositories which allows you to experiment without affecting the their original project

Merge - takes changes from one branch and apply them to another

Tags:

Updated: