BitBucket
Unlimited Private Repositories.Give
your code a home on the web. Share what you're working on with your
colleagues.All
5 user accounts are FREE.
upload
my local git repository to bitbucket
- install git (yum install git*)
- create a new repository in bitbucket.org
Setting up:-
$
mkdir /path/to/your/project
$
cd /path/to/your/project
$
git init
$
git remote add origin
https://x.x.x@bitbucket.org/raj13aug/package.git
$
touch dummy_file.txt
$
git
add dummy_file.txt$git commit dummy_file.txt -m "my first git commit"
$git push origin master
Note:- your facing the error
(gnome-ssh-askpass:13543): Gtk-WARNING **: cannot open display:
run the command
$
unset SSH_ASKPASS
$
git push origin master
Password:
Counting
objects: 3, done.
Writing
objects: 100% (3/3), 215 bytes, done.
Total
3 (delta 0), reused 0 (delta 0)
remote:
bb/acl: xxx is allowed. accepted payload.
To
https://xxx@bitbucket.org/raj13aug/package.git
- [new branch] master -> master
Then my updated files can update to the server.
No comments:
Post a Comment