More help in commands to start using git

Issue #6012 resolved
Ignacio Gutierrez created an issue

We I create a project, there is a little help how to add code to the repository: (1) How to add code (2) How to start from scratch

Usually the programmer has a code he want to add to the repository, and the commands to to that should be:

go to your computer if you use linux start a terminal if you have windows go to start/programs/git/git bash

Write this commands in gitbash (windows) or in bash(linux)

cd /path/to/your/project
example: cd /c/xampp/htdocs/myproject  
git init
git remote add origin sshkey
example: git remote add origin ssh://
git status
git add *
git status
git commit -m "This is the very first initial commit"
git status
git push origin master

Go to bitbucket and check the code is in the repository

Comments (4)

  1. Jonathan Mooring

    Hi Ignacio,

    Thank you for the feedback. While I agree that detailed instructions can be helpful to the beginner, we try our best to keep our "getting started" text as simple and straightforward as possible. We also try not to make any assumptions about our users' environments, as they vary greatly from one user to another.

    Thanks again for your suggestions, and we'll be sure to keep them in mind the next time we make a pass at our inline documentation.


  2. Log in to comment