×
Clear all filters including search bar
Valeri Tandilashvili's Personal Professional Blog
index.html
file from staging areagit restore --staged index.html
Removes all files from staging areagit restore --staged .
Alternative command is: git reset HEAD index.html / git reset HEAD .
also works on windows PowerShell
index
(except deleted index.* files)git add index.*
git add *.html
git rm --cached new.file
git --version
git clone
Initialize local Git repositorygit init
Add files to staging areagit add
Check status of working treegit status
Save changes to local repositorygit commit
Pull latest commits from remote repositorygit pull
Push local commits to remote repositorygit push
try{
$stmt = $conn->prepare($query);
$stmt->execute($exec_arr);
} catch(PDOException $e) {
if($e->getCode() == 23000){
array_push($errors, 'Technology already exists');
} else {
array_push($errors, 'Database error');
}
}
git pull origin master
git push