git

git tips

Git is a distributed version-control system for tracking changes in source code during software development. It is designed for coordinating work among programmers, but it can be used to track changes in any set of files. Its goals include speed, data integrity, and support for distributed, non-linear workflows.clone repositorygit clone update repositorygit pull add filegit add <file> remove filegit rm <file> list branchgit branch change the repositorygit checkout <repository> commitgit commit -m "description" <file> git status git push git logsgit log…

Keep reading

Puppet git hooks

Puppet git hooks is a tool that helps and guide you during the development of puppet modules. Basically, it allows you to do a lot of tests and validations of your code before to commit to your git repository. Features: Puppet manifest syntax Puppet epp template syntax Erb template syntax Puppet-lint Rspec-puppet Yaml (hiera data) syntax r10k puppetfile syntax Usage In your git repository you can symlink the pre-commit file from this repository to the .git/hooks/pre-commit of your repository you want to implement this feature. $ ln -s /path/…

Keep reading