Skip to content

How to get started with an empty repo on BitBucket

Navigate to the work dir.

Use init to create a .git-file in the dir.

Add the online repository to the dir.

 

Create a README-file, or just anyting you could push to the repo.
The status command will show you which files that isn’t in sync with the repo.

Now add the file to the repo. This will add the file to the “upload queue” and let you write a small message that tell you and others what’s changed.

And now it’s time to commit the file to the online repo. This will upload all the commited files to the BitBucket-repo.

Shell
1
git pushuorigin master
Published inLinuxold_tuxflux.se

Be First to Comment

Leave a Reply

Your email address will not be published. Required fields are marked *