How to do first bitbucket commit?
16,350
Solution 1
open GitBash and set Project Location Path
git init
git add --all
git commit -m "Initial Commit"
git remote add origin ORIGIN_URL
git push -u origin master
URL link this https://[email protected]/keshavgera/ProjectName.git
Solution 2
Please go through this
https://confluence.atlassian.com/bitbucket/add-unversioned-code-to-a-repository-877177133.html
Here it is clearly described how to add your code/project from your local machine to git repo.
Hope this helps!
Author by
TheQ
Updated on June 13, 2022Comments
-
TheQ almost 2 years
So I'm very new to bitBucket. And I'm hoping for a very step wise simple answer.
I have a folder with all my code/project files.
I have a repository set up.
Now, how do I connect the two ? I'm looking online but everyone is showing different steps. I haven't written any command lines. What are the command lines from the beginning to the end for the my first initial push ?