| # | Command | Use |
|---|---|---|
| 1 | git status | Check current changes/status |
| 2 | git pull | Get latest code from GitHub |
| 3 | git add . | Stage all changes |
| 4 | git commit -m "message" | Save changes in Git |
| 5 | git push | Upload changes to GitHub |
| 6 | git log --oneline | See commit history |
| 7 | git log -1 --oneline | Check current HEAD |
| 8 | git branch | Check branches |
| 9 | git switch branch-name | Switch branch |
| 10 | git diff | See code changes |
| 11 | git restore file | Discard changes to a file |
| 12 | git revert COMMIT_ID | Safely undo a commit |
| 13 | git reset --hard COMMIT_ID | Move back to an old commit |
| 14 | git reflog | Recover/find previous HEAD |
| 15 | git remote -v | Check GitHub remote |
| 16 | git fetch | Get remote updates without merging |
| 17 | git clone URL | Download a repository |
| 18 | git stash | Temporarily save uncommitted changes |
| 19 | git stash pop | Restore stashed changes |
| 20 | git show COMMIT_ID | See what a commit changed |
×
PHP Tutorial
- PHP Introduction
- Install PHP
- PHP Syntax
- PHP Variables
- PHP ECHO/Print
- PHP Operators
- PHP Data Types
- PHP Comment
- PHP Constant
- PHP Magic Constant
- PHP If../Else../Elseif..
- PHP Arrays
- PHP Loops
- PHP Functions
- PHP Switch
- PHP Strings
- PHP Methods
- Curl in php
- PHP Session
- PHP Cookie
- Mail send in php
- Image Upload in php
- PHP static function
- PHP Final Keyword
- Callback functions in PHP
- Static Variables
- PHP global variables
- php all functions
PHP Reading Section
PHP Misc
- Top 6 PHP frameworks
- phpMyadmin
- How run php on Windows
- PHP JSON with example
- Continue and Break in php
- PHP $ and $$
- Difference between include() and require()
- PHP isset() function
- Types of Errors in PHP
- PHP error_reporting
- PHP try-catch
- PHP is_null() function
- PHP isset vs empty vs is_null
- PHP empty ( ) Function
- How to get current page URL in PHP
- How to get the IP address in PHP
- PHP Contact Form
PHP Functions
- stristr() function
- strstr() function
- strrev() function
- substr() function
- ucfirst() function
- ucwords() function
- array_keys() function
- array_map() function
- array_merge() function
- array_combine() function
- array_push() function
- array_pop() function
- array_search() function
- array_sum() function
- in_array() function
- count() function
- sizeof() function
- isset() function
- unset() function
- unlink() function
- serialize() function
- unserialize() function
PHP Tutorial
- PHP Introduction
- Install PHP
- PHP Syntax
- PHP Variables
- PHP ECHO/Print
- PHP Operators
- PHP Data Types
- PHP Comment
- PHP Constant
- PHP Magic Constant
- PHP If../Else../Elseif..
- PHP Arrays
- PHP Loops
- PHP Functions
- PHP Switch
- PHP Strings
- PHP Methods
- Curl in php
- PHP Session
- PHP Cookie
- Mail send in php
- Image Upload in php
- PHP static function
- PHP Final Keyword
- Callback functions in PHP
- Static Variables
- PHP global variables
- php all functions
PHP Reading Section
PHP Misc
- Top 6 PHP frameworks
- phpMyadmin
- How run php on Windows
- PHP JSON with example
- Continue and Break in php
- PHP $ and $$
- Difference between include() and require()
- PHP isset() function
- Types of Errors in PHP
- PHP error_reporting
- PHP try-catch
- PHP is_null() function
- PHP isset vs empty vs is_null
- PHP empty ( ) Function
- How to get current page URL in PHP
- How to get the IP address in PHP
- PHP Contact Form
PHP Functions
- stristr() function
- strstr() function
- strrev() function
- substr() function
- ucfirst() function
- ucwords() function
- array_keys() function
- array_map() function
- array_merge() function
- array_combine() function
- array_push() function
- array_pop() function
- array_search() function
- array_sum() function
- in_array() function
- count() function
- sizeof() function
- isset() function
- unset() function
- unlink() function
- serialize() function
- unserialize() function