AdvNative Week 1 - Version Control
AdvNative Week 1 - Version Control
WEEK 1
● Record the changes you made to your file in a way that you will be
able to understand later
Since we don't have any activity yet, please add one. Right click on
package name > new > activity >
Close setting dialog. Next, we need to enable VCS integration into our
current project
The project is ready to use with Git version control. To stage and
commit your changes, go to VCS > Commit.
Tick this
checkbox
Current
working
branch Write
messages here
STAGE & COMMIT
Press commit button. Code analysis will show warning dialog like this.
Warnings usually related with unfinished TODO, warning on UI or
others. For now just press Commit
STAGE & COMMIT
Copy paste your friend repository URL into URL textbox. Make sure
your account already have access.
CREATE BRANCHES
● Branching is used to maintain stability while isolated changes.
● Usually branch used for working on bug fixes, develop new
features, integrate new versions after they have been tested in
isolation
CREATE NEW BRANCH
Login_feature
branch
Master
branch
Merged
MERGE BRANCH
Click invite a
collaborator
ALLOW ACCESS FOR OTHER TEAM
MEMBER
Write your friend email or github username. If success, your friend will
have access to run git operation on this repository.
CLONE EXISTING PROJECT