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.


3 comments:

  1. I am very enjoyed for this blog. Its an informative topic. It help me very much to solve some problems. Its opportunity are so fantastic and working style so speedy. Scumbuckets

    ReplyDelete
  2. I am happy to find this post Very useful for me, as it contains lot of information. I Always prefer to read The Quality and glad I found this thing in you post. Thanks Scum bucket

    ReplyDelete
  3. No doubt this is an excellent post I got a lot of knowledge after reading good luck. Theme of blog is excellent there is almost everything to read, Brilliant post. Scumbucket

    ReplyDelete

GitHub repository using Git Bash command

  To add a project to a GitHub repository using Git Bash command line, you can follow these steps: Create a new repository on GitHub by logg...