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