
- Git - خانه
- Git - مفاهیم پایه
- Git - نصب و تنظیمات محیط
- Git - چرخه زندگی
- Git - درست عملیات
- Git - عملیات کلون
- Git - انجام تغییرات
- Git - نقد و بررسی تغییرات
- Git - Commit ایجاد تغییر در
- Git - Push عملیات
- Git - عملیات بهروزرسانیn
- Git - Stash عملیات
- Git - Move عملیات
- Git - عملیات تغییر نام دادن
- Git - Delete عملیات
- Git - رفع اشتباهات
- Git - Tag عملیات
- Git - Patch عملیات
- Git - مدیریت Branch ها
- Git - سیستم های انتقال مواد درگیری
- Git - های مختلف Platform
- Git - انبارهای برخط
Git - Commit
Jerry Commit GIT . Amend git amend Commit Amend Commit ID .
Jerry Commit
[jerry@CentOS project]$ git log
:
commit cbe1249b140dad24b2c35b15cc7e26a6f02d2277 Author: Jerry Mouse <jerry@tutorialspoint.com> Date: Wed Sep 11 08:05:26 2013 +0530 Implemented my_strlen function commit 19ae20683fc460db7d127cf201a1429523b0e319 Author: Tom Cat <tom@tutorialspoint.com> Date: Wed Sep 11 07:32:56 2013 +0530 Initial commit
Jerry -- amend Commit
[jerry@CentOS project]$ git status -s M string.c ?? string [jerry@CentOS project]$ git add string.c [jerry@CentOS project]$ git status -s M string.c ?? string [jerry@CentOS project]$ git commit --amend -m 'Changed return type of my_strlen to size_t' [master d1e19d3] Changed return type of my_strlen to size_t 1 files changed, 24 insertions(+), 0 deletions(-) create mode 100644 string.c
git log commit ID hash ID :
[jerry@CentOS project]$ git log
:
commit d1e19d316224cddc437e3ed34ec3c931ad803958 Author: Jerry Mouse <jerry@tutorialspoint.com> Date: Wed Sep 11 08:05:26 2013 +0530 Changed return type of my_strlen to size_t commit 19ae20683fc460db7d127cf201a1429523b0e319 Author: Tom Cat <tom@tutorialspoint.com> Date: Wed Sep 11 07:32:56 2013 +0530 Initial commit
Advertisements