This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
cls(practice)$ git status | |
On branch practice | |
You are currently cherry-picking commit 6e0580a. | |
(fix conflicts and run "git cherry-pick --continue") | |
(use "git cherry-pick --abort" to cancel the cherry-pick operation) | |
Unmerged paths: | |
(use "git add <file>..." to mark resolution) | |
both modified: app/views/account/dashboard/index.html.haml |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
= render 'new_version_message' | |
.container-fluid.margin-left-0.well | |
= form_tag '', method: :get do | |
.col-md-4.margin-left-0 | |
= label_tag :query, "Document title, number or user email" | |
= text_field_tag :query, params[:query], title: 'Document title, number or user email', class: 'form-control' | |
.col-md-1 | |
= label_tag :interview_complete, "Status" | |
= select_tag :interview_complete, options_for_select(status_collection, params[:interview_complete]), class: 'form-control' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
- else | |
= render partial: "document_row", locals: {doc: doc, idx: idx} | |
>>>>>>> 6e0580a... incomplete to in progress |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
cls(sprint016)$ git log -n 1 | |
commit 5f9b9bbd7c97814d22aeb5da2e1355c25d52759e | |
Merge: 3dca8eb 846e0fd | |
Author: Justin Veirs <[email protected]> | |
Date: Mon Feb 2 08:43:04 2015 -0500 | |
Merge branch 'master' of https://github.com/hgslabs/cls3 into sprint016 | |
cls(sprint016)$ | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
You could do a | |
git reset --HARD <last commit on master before your branch was merged number> | |
git push -f origin master | |
but I would prefer to look at it before you do it as it's more permanent. | |
It's not a pressing issue for now, but we should get it cleaned up today. I'll look at it tonight with you, cool? | |
Don't stress! | |
Tk |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
in the terminal, please do. | |
change directories into cls, which is done like this: | |
cd project_name, and the output should be | |
Desktop$ cd project_name which in this case is cls, so it'll read something like: | |
Desktop$ cd cls | |
cls(master)$ | |
once in the directory cls, please bundle the dependencies like so: | |
cls(master)$ bundle install | |
next up, start the mysql server like: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
cls(sprint016)$ git fetch | |
cls(sprint016)$ git status | |
On branch sprint016 | |
Your branch is ahead of 'origin/master' by 102 commits. | |
(use "git push" to publish your local commits) | |
nothing to commit, working directory clean | |
cls(sprint016)$ git pull origin sprint016 | |
From https://github.com/hgslabs/cls3 | |
* branch sprint016 -> FETCH_HEAD | |
Already up-to-date. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
cls(cl-781)$ git push origin cl-781 | |
To https://github.com/hgslabs/cls3.git | |
! [rejected] cl-781 -> cl-781 (non-fast-forward) | |
error: failed to push some refs to 'https://github.com/hgslabs/cls3.git' | |
hint: Updates were rejected because the tip of your current branch is behind | |
hint: its remote counterpart. Integrate the remote changes (e.g. | |
hint: 'git pull ...') before pushing again. | |
hint: See the 'Note about fast-forwards' in 'git push --help' for details. | |
cls(cl-781)$ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
cls(cl-781)$ git add -A | |
cls(cl-781)$ git commit -m "fingers crossed the documentaiton is correctly deleted" | |
[cl-781 28104bb] fingers crossed the documentaiton is correctly deleted | |
1 file changed, 30 deletions(-) | |
cls(cl-781)$ git checkout sprint015 | |
Switched to branch 'sprint015' | |
Your branch is up-to-date with 'origin/sprint015'. | |
cls(sprint015)$ git pull origin sprint015 | |
remote: Counting objects: 18, done. | |
remote: Compressing objects: 100% (17/17), done. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
A class is used to create an object. It's like a blueprint | |
We have an Org class in the app | |
To create an Org object, we can do the following: Org.new | |
Or pull one from the database (orgs table): Org.find(ID) | |
The User class is also used to create objects | |
Under admin/users/index.html.haml we are looping through all the user objects in the database | |
users.each do |user| | |
... | |
end |
NewerOlder