Your branch is up-to-date with 'origin/master'. Note that here we are using a bash command - cd (change directory).įor example, on a Unix based system, if you wanted to have your repository in your Documents folder, you change directories as follows: Next, on your local machine, open your bash shell and change your current working directory to the location where you would like to clone your repository. From your repository page on GitHub, click the green button labeled Clone or download, and in the “Clone with HTTPs” section, copy the URL for your repository. Next, clone your newly created repository from GitHub to your local computer. git status, git clone, etc)Ĭlone your repository to your local machine Git specific commands will always started with a call to git (e.g. Git commands: These are commands that are specific to git and will only be available if you have git installed on your computer. They allow you to navigate around your computer, explore directory structures, create and manipulate files and directories, and more. There are 2 types of commands that you will useīash commands: These are commands that are native to bash / shell.
Using git bash tutorial series#
Using git bash tutorial license#
We need to move them to staging area where we can commit them & push the changes.At the end of this activity, you will be able to: Gitbash repo (This one is locally created Repo)
Using git bash tutorial windows#
I will be using Windows File Explorer to copy the files, Atom Text editor to edit them & finally Git Bash to commit changes. My point is, you can use the usual Linux terminal command to navigate & copy files.įor the sake of simplicity, I will not be using terminal/CMD commands to copy files. In the above screenshots you can observe that dir is Windows CMD command & it works. There are few Linux terminal commands which work in Git Bash. Open your GitHub profile and Instead of creating a new Repo, open the repo where you wish to upload your code. Use cd command to enter inside your repo. Use dir command to list all the folders present. Note: After cloning, you need to enter into the local repo folder.