Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
V
vtigercrm
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Wiki
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Model registry
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Admin message
Welcome to Vtiger Community. To gain access for account, please contact [ community @ vtiger.com ]
Show more breadcrumbs
Maurice Courtois
vtigercrm
Commits
c703c94e
Commit
c703c94e
authored
9 years ago
by
Alan Bell
Browse files
Options
Downloads
Patches
Plain Diff
update readme with git guidance
parent
51d8b9da
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
README.md
+45
-9
45 additions, 9 deletions
README.md
with
45 additions
and
9 deletions
README.md
+
45
−
9
View file @
c703c94e
...
...
@@ -5,21 +5,57 @@ Vtiger is a PHP based web application that helps businesses manage their sales a
Development on vtiger is done at http://code.vtiger.com which is a gitlab server.
register an account
To register for an account, please contact info @ vtiger.com, you will need this to file issues and/or fix the code
Once you have an account, you can
[
browse the code
](
http://code.vtiger.com/vtiger/vtigercrm/tree/master
)
,
[
see if your issue is already reported
](
http://code.vtiger.com/vtiger/vtigercrm/issues
)
and if you have a new problem
to report you can
[
create an issue
](
http://code.vtiger.com/vtiger/vtigercrm/issues/new?issue
)
If you then want to fix the issue (or another issue) you can create your own fork of vtiger to work on using the
fork button on the vtiger project, this will create a new git repository for you at
http://code.vtiger.com/yourname/vtigercrm.git
fork vtiger to create your own development
are
a
on your computer you will need a git client installed and you need to tell git who you
are
:
file an issue against the vtiger project describing the problem
git config --global user.name "YOUR NAME"
git config --global user.email "YOUR EMAIL ADDRESS"
create a branch in your fork for a new feature or bug fix
now clone your fork of vtiger
switch to that branch
git clone http://code.vtiger.com/yourname/vtigercrm.git
make your changes and commit the fix, reference the issue number in your commit message,
e.g. "fix #2 display projects on the calendar"
this will pull down from the server your copy of the vtiger code and all the history.
create a merge request from your branch to the upstream master, this will be reviewed to see if it fixes the
You will make a new branch for your changes, you can give it a descriptive name, once the branch is created
you will switch to that branch using the checkout command
git branch fix_projects_on_calendar
git checkout fix_projects_on_calendar
Now you can make your changes and commit all changed files with
git commit -a
Do reference the issue number in your commit message, e.g. "fix #2 display projects on the calendar" the number will
allow the system to link the commit to the issue.
Now you can push your branch to the server, this creates the branch on the server end and populates it
git push --set-upstream origin fix_projects_on_calendar
look at the branch on code.vtiger.com and create a merge request from your branch
to the upstream master, this will be reviewed to see if it fixes the
issue and if all is good will be merged into the upstream code.
You can then switch back to your master branch with
git checkout master
And you can create additional feature branches from there to fix different things.
If there have been other changes to the central vtiger code that you want in your work area then you can add the central
repository as an upstream remote (only need to do this bit once), then you can fetch changes and merge them
git remote add upstream http://code.vtiger.com/vtiger/vtigercrm.git
git fetch upstream
git merge upstream/master
update your master work area from upstream.
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment