My Linux Code.

Home‎ > ‎

Git-regular

Creating git repos:
    1> intialize the repo
<pre>
    cd linux-2.6.27
    git-init-db
Add all the files in the directory to repository.
    git-add .
</pre>

Configuring the Repos
        git-config --global user.name "Srinivas Kandagatla"
        git-config --global user.email "srinivas.kandagatla@gmail.com"

Committing the changes
    to see changes:
    git-status
    git-add <new files>
    git-update-index <modified files>
    commit all the changes using your sign.
    git-commit -s

Creating Patches:
    git-format-patch HEAD^1