-
git-change-url
:- taken from: https://gist.github.com/sankalp-khare/11356560
- Description: allows to switch between https and ssh the remote in a git repo
- Usage:
git-change-url
--to-ssh convert https url to sshgit-change-url
--to-https conver ssh url to https one.
-
py_switch
: allows to switch between py 3.5 and py 2.7, working only on MacOS using macport -
set_all_remote
: change all remote from one username to another. Actually setup to change Baaaaam into bam241... Can be easily change if needed... -
c_git
:- Usage:
- without
args
, check if the actual folder is under git versionning, if notgit init
it, then create a newGitHub
named as the root folder and add the remote, If the folder is already on git versionning, check is there is a remote, if there is one, not pointing on one of your GitHub repos, try to fork it, then setup bothorigin
andupstream
remote, if there is no remote, create a repo on your GitHub account, and add the remote as origin, - with
args
, create a newGitHub
repo name as theargs
, then clone it locally.
- without
- Usage:
-
clang-format
: allow usage of clang-format, taken from https://github.com/travisjeffery/ClangFormat-Xcode.