I hereby claim:
- I am wildeng on github.
- I am alainmauri (https://keybase.io/alainmauri) on keybase.
- I have a public key ASAfkBM0S_eL5QZC0hqxRVPCAQiBz5_V04bA66KqoVwbYgo
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
| ARG RUBY_VERSION | |
| FROM ruby:$RUBY_VERSION | |
| ARG BUNDLER_VERSION | |
| ARG uid | |
| ARG gid | |
| ARG PORT | |
| ARG REDIS_URL | |
| # set some env variables |
| GIT quick reference - WIP | |
| A collection of tips to effectively use GIT. | |
| Logging | |
| # Compact log and graph | |
| git log --oneline --graph | |
| # Log actual changes in a file | |
| git log -p <filename> | |
| # Log changes not yet merged to the parent branch | |
| git log --no-merges ,parent_branch>.. | |
| Rename a local branch |
| # Adding a tag to our commit | |
| git tag -a v0.1 -m "a nice commit" | |
| # looking for the created files we see that one more file | |
| # has been created | |
| find .git/objects -type f | |
| .git/objects/51/e1acfa6ecdb46d6c9d4ad13e82b5cab90d5f3f | |
| .git/objects/51/dcfd9bba09650f50ccad8dde3ad5fe8ba68ad2 | |
| .git/objects/53/8d4c75373bb8ebb9af381c4e8287b6f0819533 |
| # Tree object | |
| git cat-file -p 51e1acfa6ecdb46d6c9d4ad13e82b5cab90d5f3f | |
| 100644 blob 538d4c75373bb8ebb9af381c4e8287b6f0819533 status.txt | |
| # Commit object: Author info, Committer info and commit message | |
| git cat-file -p 51dcfd9bba09650f50ccad8dde3ad5fe8ba68ad2 | |
| tree 51e1acfa6ecdb46d6c9d4ad13e82b5cab90d5f3f | |
| author wildeng <wildeng@myemail.com> 1563483367 +0100 | |
| committer wildeng <wildeng@myemail.com> 1563483367 +0100 |
| find .git/objects -type f | |
| .git/objects/51/e1acfa6ecdb46d6c9d4ad13e82b5cab90d5f3f | |
| .git/objects/51/dcfd9bba09650f50ccad8dde3ad5fe8ba68ad2 | |
| .git/objects/53/8d4c75373bb8ebb9af381c4e8287b6f0819533 |
| touch status.txt | |
| # Now edit and save the file | |
| # check the status of the repository | |
| git status | |
| On branch master | |
| No commits yet | |
| Untracked files: |
| git init plain_git | |
| Initialized empty Git repository in /tmp/plain_git/.git/ | |
| cd plain_git | |
| find .git/objects | |
| .git/objects | |
| .git/objects/pack | |
| .git/objects/info |