Friday, May 2, 2014

bit bucket

Explore GIT


There is main problem in uploading the project on GIT.
 Many Technical student face problem to

how to upload 
how to create repository
how to push
how to pull

  1. Log into Bitbucket under your individual account.
  2. Click Repositories > Create repository or the Create new repository link.
  3. Choose a repository Owner.
    This only appears if you are creating under an account with membership in one or more teams. 
  4. Enter a Name and Description for your repository.
  5. Tick Private if you want to hide your repository from the general public, so that only selected people can see it.
  6. Select the Repository type.
  7. Click Create repository.
step1 :

Download GIT

Step 2:

create Account on GIT
bitbucket
github

step 3:

use these commands on CMD of Git


$ cd /C/ PATH TO FOLDER
$ git init
$ git add --all
$ git commit -m "adding repo instructions"
  


 commands >.>

mkdir /path/to/your/project 

cd /path/to/your/project 

git init 

git remote add origin ssh://git@bitbucket.org/username/bbreponame.git


Create a project with some code:

$ mkdir my_project
$ cd my_project
$ echo "foobar" > some_file

Then, while inside the project's folder, do an initial commit:
 
$ git init
$ git add some_file
$ git commit -m "Initial commit"

then for using bitbucket or such you add a remote and push up
 
$ git remote add some_name user@host:repo
$ git push some_name

you also might then want to configure tracking branches etc. see git remote set-branches and related commands for that.


1 comment:

  1. My friend Suggest me this blog and I can say this is the best blog to get the basic knowledge.Thank you so much for this Selenium Training in Chennai

    ReplyDelete

Related Posts Plugin for WordPress, Blogger...