Skip to content

jonassanoj/dbpro

Repository files navigation

=== Welcome to the Databases Practical Approach 1 Project ===

This README file contains useful and important hints for all development team members.


IMPORTANT

Commit messages have to be meaningful and concise at the same time.
They should enable everyone of your team to know the current status of your project and be useful for the project documentation.



HOW TU USE GIT

clone the repo from server to your local machine
> git clone [email protected]:jonassanoj/dbpro.git

exclude local config files from versioning (before switch to application/config/)
> git update-index --assume-unchanged database.php config.php

add a file to the git index (stage it)
> git add respectiveFile

put a file into the repo (now it's tracked)
> git commit respectiveFile -m 'Here the commit message must be entered.'

mark a file to be removed from repo (need to be commited!)
> git rm respectiveFile 

send changes to tracked remote branch
> git push

forward local commits to the updated remote repo
> git rebase

merge changes from tracked remote branch
> git pull

see the status of all fileS in the current git folder in your repository
> git status

show all commits chronological
> git log

show all available branchen
> git branch

adding a global ignore file to your repository (switch to the root of your git directory before!)
> git config --global core.excludesfile .gitignore_global

set your email/name (they are associated with your commits)
> git config --global user.name yourName
> git config --global user.email yourEmail

About

DB Project 1

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published