Skip to content

gburghardt/Git-Extensions

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

44 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Git Extensions (ge)

Git Extensions provides some wrapper shell scripts around Git with intelligent defaults.

Downloads

Installation

  1. Open a command line shell
  2. mkdir ~/bin
  3. cd ~/bin
  4. git clone git://github.com/gburghardt/Git-Extensions.git ge
  5. cd ge
  6. chmod +x * (only if the files aren't executable to begin with)
  7. Open your bash profile, which could be any of these files: ~/.bash_profile, ~/.bashrc, ~/.profile
  8. Add this line and save the file: export PATH="$PATH:$HOME/bin/ge"
  9. Reopen any open shells
  10. Type which ge from the command line. It should find the ge command.
  11. Type ge help for a list of commands.

Easy SVN Imports

The ge svn utility provides easy ways to generate an SVN authors file, plus do the initial import into SVN. Additionally, all command line output is saved to a log file in the current working directory called svn_import_YYYY-MM-DD.HH.MM.log.

  1. cd path/to/subversion_repository
  2. ge svn authors -f template > svn_authors.txt
  3. Manually edit svn_authors.txt to flesh out the names and email addresses
  4. ge svn import
  5. Follow the prompts on screen.
  6. Have a cup of coffee (or leave for the weekend, depending on how big the SVN repository is).

The ge svn import utility steps you through the process of importing an SVN repository into Git. If you want to make things scriptable, you can always pass in flags instead of using the interactive mode:

ge svn import --authors-file=path/to/authors/file --usename=svn_username <svn url> <destination>

Getting Help

You can run ge svn --help from the command line or post an issue on GitHub.

Changelog

  • v1.0.1 (10/29/2013) — Fixing a bug with executing ge svn authors without passing the -l flag

About

Handy Bash shell script wrappers to make using Git easier, simpler and faster.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages