Vikash-Kothary / setup-scripts

Automatically installs and configures a fresh Linux environment with my preferred programs and settings.
GNU Affero General Public License v3.0
0 stars 0 forks source link

Git Tools #1

Open VikashKothary opened 5 years ago

VikashKothary commented 5 years ago

To speed up development

  • [ ] Github cli: See this
  • [ ] Git Flow cli
  • [ ] Git Labels cli
  • [ ] git_user.sh: See this
  • [ ] git_configure.sh
  • [ ] git_new.sh
  • [ ] git_release.sh
  • [ ] create gh-pages branch for every repo generator-html5-boilerplate
VikashKothary commented 5 years ago
#!/usr/bin/bash
# git_configure.sh

git config --global user.name "Vikash Kothary"
git config --global user.email "kothary.vikash@gmail.com"
git config --global color.ui auto
# Set git to use the credential memory cache to remember password
git config --global credential.helper cache
# Set the cache to timeout after 1 hour (setting is in seconds)
git config --global credential.helper 'cache --timeout=3600'
VikashKothary commented 5 years ago
#!/usr/bin/bash
"""
git_create.sh

Creates a git repository and it's initial commit.
"""
github create [project-name]
git init [project-name]
git clone https://github.com/Vikash-Kothary/
git commit -m "Initial commit ([project-type])"