gitbitbucketgit-bash

Git bash how to upload a project to a Bitbucket?


Git bash terminal

I'm now ready to use git with the git init command.

This is the problem after that.

I'm not sure about the git add command.

What exactly should I add to add a file?

Do I have to upload my modified file?

Not only that, but I do not know how to upload a project to a bit bucket.

If you have a link that has been described in detail,

will not you give me that link?

There is not much data to refer to in Korea.


Solution

  • From the BitBucket official doc:

    git init
    git add --all
    git commit -m "Initial Commit"
    git remote add origin ORIGIN_URL 
    git push -u origin master
    

    Where ORIGIN_URL is your repository url (e.g. https://username@your.bitbucket.domain:7999 /yourproject/repo.git)