-
-
Notifications
You must be signed in to change notification settings - Fork 116
Home
-
main
-
devops
All commits/changes will be merged on devops branches from contributors forked branch.
-
release
After the release of new version, it will be pushed to release branch
-
Fork visualpython repository as your remote repository
On Github, you can just fork it clicking 'Fork' button on the upper-right side of the page.
-
Clone your forked repository on local environment
$ git clone [your-repository-link]
-
Where to get repository link?
Copy link on github clone part, or copy your url from brower link box.
-
Where to clone?
We recommend to make a symbolic link(soft-link) under jupyter nbextensions' directory and make seperated developing environment.
-
How to find jupyter nbextensions' directory?
- for anaconda
-
search list of conda environments
$ conda-env list # output # conda environments: # base C:\Users\UserName\anaconda3 env2 * C:\Users\UserName\anaconda3\envs\env2
-
get path of asterisked one (*)
C:\Users\UserName\anaconda3\envs\env2
-
add this given path after that
- given path : \share\jupyter\nbextensions
⇒ FULL PATH : C:\Users\UserName\anaconda3\envs\env2\share\jupyter\nbextensions
-
- for anaconda
-
How to make a symbolic link on Windows?
> mklink /d "link_path/link_name" "original_path"
-
How to make a symbolic link on Linux?
$ ln -s original_path link_path/link_name
-
-
-
Work on 'devops' branch
$ git checkout devops
-
Add original repository as upstream
## check remote repository list $ git remote -v ## add upstream $ git remote add upstream https://github.com/visualpython/visualpython.git
-
Stage your changes and Commit it
# check status $ git status # stage all changes (or specific files' path) $ git add . # commit all changes $ git commit -m "#issue_number - commit comments..." # example $ git commit -m "#54 - Frame fixed"
-
keep in touch with upstream(original repository) by fetching it
## fetch upstream $ git fetch upstream ## rebase before push (after commit all changes you made) $ git rebase upstream/devops
-
6-2. If something's wrong with rebase operation?
reference : [link](https://medium.com/@shreyawhiz/how-to-undo-a-mistaken-git-rebase-life-saver-2977ff0a0602)
-
check your last commits and its commit number
$ git reflog [branch_name] # for example $ git reflog devops
-
find commit number to go back, and copy it.
( exit this screen with :q)
-
reset that rebase
$ git reset --hard [commit_number] # for example $ git reset --hard e5e87e3
-
-
Push codes and Request merge
$ git push origin devops
Request merge on GitHub page with detailed description of commits.
Love Visual Python? Caffeine keeps us awake and do the work ☕ THANK YOU for your support! 👍