guides

Common Git commands for data-scientists

Common Git commands for data-scientists and machine learning engineers

This guides provides a quick introduction to commonly used git commands.

Git init

Create an empty Git repository or reinitialize an existing one on the local machine.

Reference: Please refer to git-init

Git clone

Make a local copy of an existing remote repository.

Reference: Please refer to git-clone

Git add

Add file(s) to the index to be saved.

Reference: Please refer to git-add

Git status

Show the working tree status, current index of saved files.

Reference: Please refer to git-status

Git commit

Create a new commit based on the current index of the saved file(s).

Reference: Please refer to git-commit

Git push

Update the remote repository with the saved changes (commits).

Reference: Please refer to git-push

Git pull

Fetch changes (commits) from remote repository and integrate with the local machine.

Reference: Please refer to git-pull

Git branch

Branch management: list, create, rename, and delete branches.

Reference: Please refer to git-branch

Git checkout

Switch branches or restore working tree files.

Reference: Please refer to git-checkout

Git merge

Join two or more development histories together.

Reference: Please refer to git-merge

Subscribe to Polyaxon Blog

Get the latest posts delivered right to your inbox