V
V
vasIvas2014-11-20 00:20:59
Programming
vasIvas, 2014-11-20 00:20:59

How to set up sublime text 3, github and bitbucket to work together?

Help in any way you can in the issue of sublime text 3 collaboration with github and bitbuket. To be honest, I don’t have any experience with githab and bitbuket and I took it up for the first time, but on my own I couldn’t figure out how to set up the work.
Google is also not happy .. There are no full-fledged articles not on Habré, not full-fledged videos on youtube. In the first case, they show how to work with plugins for sb3, and in the second, everything is for st2 and therefore outdated. And I can’t find the most important thing anywhere, setting up a link to my account and password. Everywhere show so that it is already configured.
I hope for your help. Thank you!

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Alexander Malinov, 2014-11-20
@vasIvas

Basic knowledge:
1. Create a new repository in GitHub/Bitbucket.
2. Create a project folder with a .gitignore file (in it we write file formats and paths that should not be tracked by the version control system: all *.log logs, *.tmp temporary files, /trash paths, etc.)
3. In terminal, being in this directory, initialize git.
4. In ST we write the code and save it in this directory.
5. In the terminal, we look at the changes, add and queue all created files / directories for a commit in git

git status
git add -A

6. Making a commit merge
7. Adding a link to a remote repository
git remote add origin <адрес репозитория из п.1 на GitHub/Bitbucket>
git remote -v

8. Push local changes to the remote repository
Further, in the process of work, repeat steps 4-8.
If you need to pull in a new remote repository
To branch, you only need to know checkout and merge first.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question